package db.freebase;


public class FreeBaseTSVHeader {

    private String[] header;
    
    public FreeBaseTSVHeader(String[] header) {
        this.header = header;
    }
    
    public String[] getHeader() {
        return header; 
    }
    
    public int getNumberOfColumns() {
        return header.length;
    }

    public String getColumnName(int index) {
        if (index < 0 || index >= getNumberOfColumns()) {
            return null;
        }
        
        return header[index];
    }
    
}
